from sqlalchemy import Column, Integer, String
from database.models.DatabaseCommon import Base

class Normal(Base):
    __tablename__ = 'Normals'
    id = Column(Integer, primary_key=True, autoincrement=True)
    name = Column(String, unique=True)
    desc = Column(String, unique=True)
    IsAdvance = Column(Integer, default=0)

    def __repr__(self):
        return "<Normal (id='%d', name ='%s')>" % (
            self.id, self.name)
